#include "statement.h"

void printArray( int siz[], int p )
{
    int siz_0[50]={0};
    for (size_t i = 0; i < p; i++)
    {
        siz_0[i] = siz[i];
    }
        for (size_t i = 0; i < p; i++)
        {
            for (size_t j = 0; j < p; j++)
            {
                int temp;
                if (siz_0[j] <siz_0[j+1])
                {
                    temp=siz_0[j];
                    siz_0[j] = siz_0[j+1];
                    siz_0[j+1] = temp;
                }
                
            }
            
        }
    for (size_t i = 0; i < p; i++)
    {
        printf("%ld : %d\n", i ,siz_0[i]);
    }
    
    return ;
}